package com.example.movie.mate.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 放映计划VO
 */
@Data
@Schema(description = "放映计划VO")
public class ScheduleVO implements Serializable {
    /**
     * 放映计划ID
     */
    @Schema(description = "放映计划ID")
    private Long id;

    /**
     * 对应的电影ID
     */
    @Schema(description = "对应的电影ID")
    private Long movieId;

    /**
     * 对应的影厅ID
     */
    @Schema(description = "对应的影厅ID")
    private Long hallId;

    /**
     * 放映开始时间
     */
    @Schema(description = "放映开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 放映结束时间
     */
    @Schema(description = "放映结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}